package com.ellwood.dataMapper.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ellwood.common.core.base.EntityBase;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @ProjectName: ellwood-pro
 * @PackageName: org.ellwood.modules.system.entity
 * @ClassName: UserPostEntity
 * @Description: // 用户岗位关联表
 * @Author: Ellwood
 * @CreateDate: 2024/2/21 - 13:46
 * @Version: V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ToString
@TableName("sys_user_post")
public class UserPostEntity extends EntityBase {

    /**
     * 用户岗位关联ID
     */
    @TableId
    private Long postId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 岗位ID
     */
    private Long upId;
}
